﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace quanlynhasach
{
    class Nhanvien
    {
        public string MaNV;
        public string TenNV;
        public string NgaySinh;
        public string SoCMND;
        public string SoDienThoai;
        public string DiaChi;
        public string Email;
        public string PassWord;
        public string Loai;
        public string GioiTinh;
        public string Anh;
    }
    class HangHoa
    {
        public string MaHangHoa;
        public string TenHangHoa;
        public string GiaMua;
        public string GiaBan;
        public int SoLuong;
        public string DonVi;
        public string MaNCC;
        public string TenTG;
        public string MaTL;
        public string Thue = "5";
    }
    class KhachHang
    {
        public string MaKH;
        public string TenKH;
        public string NgaySinhKH;
        public string SoCMNDKH;
        public string SoDienThoaiKH;
        public string DiaChiKH;
        public string EmailKH;
        public string GioiTinhKH;
    }
    class HoaDonBan
    {
        public string MaHD;
        public string MaNVHD;
        public int TongTienHD;
        public string NgayHD = DateTime.Now.ToString("MM/dd/yyyy");
        public string MaKHHD;
    }
    class ChiTietBanHang
    {
        public string SoCTHD;
        public string MaHD;
        public string DonViCTHD;
        public string MaSachCTHD;
        public int SoLuongCTHD;
        public int DonGiaCTHD;
        public string ThanhTienCTHD;
        public int Thue;
    }

    class HoaDonNhap
    {
        public string MaHDN;
        public string MaNVHDN;
        public int TongTienHDN;
        public string NgayHDN = DateTime.Now.ToString("MM/dd/yyyy");
        public string MaNhaCungCap;
    }
    class ChiTietPhieuNhap
    {
        public string SoCTPN;
        public string MaPN;
        public string DonViPN;
        public string MaSachPN;
        public int SoLuongPN;
        public int DonGiaPN;
        public string ThanhTienPN;
        public int Thue;
        public int GiaBan;
    }
}
